import pandas as pd

# df = pd.read_csv('./data/beautymakeup in T-mall.csv')
# print(df.head())


# df = pd.read_excel('./data/homework.xlsx', sheet_name='area_table')
# print(df.head(n=10))


from sqlalchemy import create_engine

conn = create_engine('mysql+pymysql://root:111111@localhost:3306/ds0?charset=utf8')

df = pd.read_sql(
    'select * from user limit 3;',
    con=conn
)
print(df.head())